home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 1
/
Wayzata's Best of Shareware for PC-Windows - Release 1 - Wayzata Technology (1993).iso
/
pc
/
windows
/
fileutil
/
watchman
/
wmrestor.ba_
< prev
next >
Wrap
Text File
|
1992-08-04
|
1KB
|
54 lines
@echo off
ECHO === WatchMan Critical Files Restore ===
ECHO Copyright (c) 1992 Distant Markets, Edmonton, Canada
ECHO
ECHO WARNING: Use this utility only when your MS Windows can not start,
ECHO otherwise run WatchMan in MS Windows to restore files from WatchMan's
ECHO backup.
ECHO Press Ctrl-C to return to DOS.
PAUSE
IF NOT EXIST WIN.COM GOTO ERRCDIR
IF EXIST SYSTEM\DBACKUP.ALD\WIN.IN1 GOTO NONET
IF NOT EXIST DBACKUP.ALD\WIN.IN1 GOTO ERRNOBACK
COPY WIN.INI WIN.BAK
COPY DBACKUP.ALD\WIN.IN1 WIN.INI
COPY SYSTEM.INI SYSTEM.BAK
COPY DBACKUP.ALD\SYSTEM.IN1 SYSTEM.INI
GOTO GOODEND
:NONET
COPY WIN.INI WIN.BAK
COPY SYSTEM\DBACKUP.ALD\WIN.IN1 WIN.INI
COPY SYSTEM.INI SYSTEM.BAK
COPY SYSTEM\DBACKUP.ALD\SYSTEM.IN1 SYSTEM.INI
GOTO GOODEND
:ERRCDIR
ECHO ERROR: WMRESTOR runnig not in MS Windows directory.
ECHO
ECHO Please change you current directory to MS Windows directory,
ECHO than run %0 again. Example (asume your MS Windows is in
ECHO C:\WINDOWS directory):
ECHO
ECHO c:
ECHO cd \windows
ECHO %0
ECHO
GOTO GOODEND
:ERRNOBACK
ECHO
ECHO ERROR: Backup files not found!
ECHO
:GOODEND